<?php
use yii\helpers\Html;
use yii\helpers\Url;
/* @var $this yii\web\View */
$this->title = '账户安全';
?>
<section id="body_h">
		<div class="modular17">
			<br>
			<ul class="modular8 modular14">
				<li>
					<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security1.png" alt="手机号">手机号</p>
					<p class="modular8-right"><span class="color9"><?= $userinfos['phone'];?></span></p>
				</li>
				<li>
				<?php if (isset($userinfos['isAuth']) && $userinfos['isAuth']==0){?>
					<a href="<?= Url::to(['authentication/index']);?>">
					<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security2.png" alt="实名认证">实名认证</p>
					<p class="modular8-right"><span class="bluecolor">未认证</span></p>
					</a>
				<?php }else{?>
					<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security2.png" alt="实名认证">实名认证</p>
					<p class="modular8-right"><span class="color9">已认证</span></p>
				<?php }?>
				</li>
				<li>
				<?php if (isset($userinfos['isbind']) && $userinfos['isbind']==0){?>
					<a href="<?= Url::to(['site/bindbank']);?>">
						<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security3.png" alt="银行卡">银行卡</p>
						<p class="modular8-right">
						<span class="bluecolor">未绑定</span>
						</p>
					</a>
				<?php }else{?>
						<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security3.png" alt="银行卡">银行卡</p>
						<p class="modular8-right">
						<span class="color9">已绑定</span>
						</p>
				<?php }?>
				</li>
				<li>
					<a href="<?= Url::to(['site/modifyloginpw']);?>">
						<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security4.png" alt="修改登录密码">修改登录密码</p>
						<p class="modular8-right"></p>
					</a>
				</li>
				<li>
				<?php if (isset($userinfos['isInvestPwd']) && $userinfos['isInvestPwd']==0){?>
					<a href="<?= Url::to(['site/modifyinvestpw']);?>">
						<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security5.png" alt="修改投资密码">修改投资密码</p>
						<p class="modular8-right"><span class="bluecolor">未设置</span></p>
					</a>
			   <?php }else{?>
			   			<p class="modular8-left"><img src="<?= Yii::getAlias('@web') . '/' ?>images/security5.png" alt="修改投资密码">修改投资密码</p>
						<p class="modular8-right"><span class="color9">已设置</span></p>
			   <?php }?>
				</li>
			</ul>
		</div>
		<section class='modular2'>
			<p>熊猫贷www.pandadai.com 服务热线：4006-900-880</p>
			<p>版权所有:熊猫贷 京ICP备14024103号 技术支持:万虎网络</p>
		</section>
		<div class="footer-h"></div>
	</section>
	<div class="footer-h"></div>
	<section id="footer">
		<ul class="footer-nav clearfix">
		    <li class="current-bot">
		        <a href="<?= Url::to('main');?>">
		            <img src="<?= Yii::getAlias('@web') . '/' ?>images/footer1-on.png" alt="">
		            首页
		        </a>
		    </li>
		    <li>
		        <a href="<?= Url::to('member');?>">
		            <img src="<?= Yii::getAlias('@web') . '/' ?>images/footer2.png" alt="">
		            我的账户
		        </a>
		    </li>
		    <li>
		        <a href="<?= Url::to(['company/about']);?>">
		            <img src="<?= Yii::getAlias('@web') . '/' ?>images/footer3.png" alt="">
		            关于我们
		        </a>
		    </li>
		</ul>
	</section>
	<p id="tip-error"><span>表单验证错误信息</span></p>
	<script>
	$(function($) {
	    var UA=window.navigator.userAgent;  //使用设备
	    var CLICK="click";
	    if(/ipad|iphone|android/.test(UA)){   //判断使用设备
	        CLICK="tap";
	    };
		$(".bodyA").hide();
	});
</script>